import Vue from 'vue'
import App from './App'
import router from './router'
import Element from 'element-ui'
Vue.config.productionTip = false;
import layer from 'vue-layer'
import 'element-ui/lib/theme-chalk/index.css'
import './assets/fonts/iconfont.css'
import TreeTable from 'vue-table-with-tree-grid'
import store from "./store";
import moment from 'moment'
import VCharts from 'v-charts'


Vue.prototype.layer = layer(Vue);
Vue.use(Element);
Vue.use(layer);
Vue.component('tree-table', TreeTable);
Vue.prototype.$moment = moment;
Vue.use(router)
Vue.use(VCharts)


new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app');
